package com.jnu.hc.jnuhcusercms.exception;

public enum HcAPPExceptionEnum {
    MOBILE_NOT_REGISTERED(2001,"手机号码尚未注册"),
    PASSWORD_IS_WRONG(2002,"密码错误"),
    SYSTEM_ERROR(1001,"系统异常"),
    ALREADY_APPOINTMENT_CURRENTDAY(2003,"您当天已有预约"),
    USER_LOGIN_TIMEOUT(2004,"用户登录已超时"),
    NOT_LOGIN(2005,"请先登录");
    private Integer code;
    private String message;
    HcAPPExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    HcAPPExceptionEnum() {
    }
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
}
